<!--
 * @author luguoxiang
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
-->
<template>
	<image 
		class="lg-icon" 
		:src="`../../../../../../static/icons/${$attrs.name}.svg`"
		:style="$attrs.size ? { width: $attrs.size, height: $attrs.size } : {}"
	></image>
</template>

<script lang="ts">
export default {
  name: 'LgIcon'
}
</script>

<style>
</style>